<?php /* Smarty version Smarty-3.1.8, created on 2012-04-12 21:29:36
         compiled from "C:\xampp\htdocs\Projects\Project_step\themes\release\albums\delAlbums.tpl" */ ?>
<?php /*%%SmartyHeaderCode:45764f872d20416585-74756983%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'e2119f306e62ed10369276fa3418ad3586df3f51' => 
    array (
      0 => 'C:\\xampp\\htdocs\\Projects\\Project_step\\themes\\release\\albums\\delAlbums.tpl',
      1 => 1334258368,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '45764f872d20416585-74756983',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'albums' => 0,
    'item' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_4f872d204a3f01_98007734',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_4f872d204a3f01_98007734')) {function content_4f872d204a3f01_98007734($_smarty_tpl) {?><form method="post" action="">
	<select id="sel_albums" name="sel_albums">
        <option value="null">Укажите Альбом</option>	
        <?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['albums']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['item']->_loop = true;
?>
            <option value="<?php echo $_smarty_tpl->tpl_vars['item']->value->id;?>
"><?php echo $_smarty_tpl->tpl_vars['item']->value->title;?>
</option>
        <?php } ?>
    </select>
    
    <input type="submit" name="BtnDelete" value="Удалить" />
</form><?php }} ?>